{strip}
<div style="padding:10px;">
	<h2>Übersicht</h2>
	<p>...</p>
	<form  id="classform_{$class.class_id}" action="" onsubmit="return false;">
		<input type="hidden" name="class_id" id="class_id" value="{$class.class_id}" />
		<table border="0">
		<tr>
			<th>Klassen</td>
			<th>erlauben</td>
			<th>anzeigen</td>
			<th>lokal überschreiben</td>
		</tr>
		{foreach name="classloop" from=$classes item=classX}
			<tr>
				<td>{$classX.class_name|stripslashes|htmlentities}</td>
				<td align="center"><input type="checkbox" name="classes[{$classX.class_id}][allow]" value="1" {if $permissions[$classX.class_id].allow == 1}checked="checked"{/if}/></td>
				<td align="center"><input type="checkbox" name="classes[{$classX.class_id}][visible]" value="1" {if $permissions[$classX.class_id].visible == 1}checked="checked"{/if}/></td>
				<td align="center"><input type="checkbox" name="classes[{$classX.class_id}][update_local]" value="1" /></td>
			</tr>
		{/foreach}
		</table>
		<br />
		<input type="button" value="speichern" class="submitbtn" onclick="{strip}{literal}xajax.request({ccdsclass:'ccdsClassEditor',ccdsfun:'ClassEditorClassSave'},{{/literal}parameters:[xajax.getFormValues('classform_{$class.class_id}')]{literal}});{/literal}{/strip}"/>
	</form>
</div>
{/strip}